Repository navigation
#41: Add typed formatBytes utility function - #42
Closed
coderhelm[bot] wants to merge 2 commits into
Closed
coderhelm[bot] wants to merge 2 commits into
coderhelm[bot] wants to merge 2 commits into
Conversation
coderhelm
Bot
force-pushed
the
coderhelm/sbx-e2e-3
branch
from
July 23, 2026 05:02
3b2ce76 to
1e282f7
Compare
nambok
added a commit
that referenced
this pull request
Oct 27, 2026
…lter (#247) Each row's meta line and the run page's header now say what started the run, from the `trigger` the runs API sends: "Jira · ABC-123 · by Dana", "GitHub issue · #42 · by octocat", "Started by Coderhelm · flaky test", "Alert", "Plan · <plan>", "Dashboard · log finding · by <person>", with a small icon and a link to the ticket, test, finding, alert or plan. Internal ticket ids (E2E-FIX-..., LOG-..., ALERT-...) are no longer shown as the ticket; the run's Details tab lists them as "Internal ID". A "Started by" select (Jira, GitHub, Coderhelm, Alerts, Plans, Dashboard, Chat) sits next to the status toggles, is kept in the address as `started_by`, and is sent to the server. A backend without `trigger` shows the ticket as before. openapi-fields.ts is pinned to coderhelm-platform 3d0ddc4 (the PR adding `trigger`), and api-contract.ts holds RunTrigger to it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #41
Problem
formatBytesexists only as a private inline function indashboard/src/app/settings/aws/page.tsx, making it unavailable for reuse elsewhere.Changes
dashboard/src/lib/formatBytes.ts(added)formatBytes(bytes: number, decimals?: number): string"N/A"1, clamped to[0, 20]Risk
Low — purely additive. No existing files modified. No call sites changed.
Verification
cd dashboard && npx tsc --noEmit— expect no errorsformatBytesfrom@/lib/formatBytesin any file and confirm type resolutionformatBytes(1536)returns"1.5 KB"andformatBytes(-1)returns"N/A"